﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace aoprinter.Model
{
    [Serializable]
    public class ModPage : CloneObject<ModPage>
    {
        public ModPage()
        {
            Blocks = new List<ModBlock>();
            Size = AutoSize;
            Position = EnmPosition.Suspend;
        }
        public int PageIndex
        {
            set;
            get;
        }
        public PointF Location
        {
            set;
            get;
        }
        public SizeF Size
        {
            set;
            get;
        }
        public EnmPosition Position
        {
            set;
            get;
        }
        public List<ModBlock> Blocks
        {
            set;
            get;
        }
        public bool NoPagHeader
        {
            set;
            get;
        }
        public bool NoPageFooter
        {
            set;
            get;
        }
        public string BindID
        {
            set;
            get;
        }
        public string MemberID
        {
            set;
            get;
        }
        public bool IsCustom
        {
            set;
            get;
        }
        public bool NoPageNum
        {
            set;
            get;
        }
        public ModReport Report
        {
            set;
            get;
        }
    }
}